package com.xiaolin.pojo.vo;

import lombok.Data;

/**
 * 登陆信息
 *
 * @author XiaoLin
 * @date 2019/2/22 21:09
 */
@Data
public class LoginResult extends BaseResult {

    private String token;
    private String id;

    public LoginResult(String token, String id) {
        this.token = token;
        this.id = id;
    }

    public LoginResult(Integer errno, String errmsg, Object data, String token, String id) {
        super(errno, errmsg, data);
        this.token = token;
        this.id = id;
    }

    public LoginResult(Integer errno, String errmsg, String token, String id) {
        super(errno, errmsg);
        this.token = token;
        this.id = id;
    }
}
